package com.maven.springaop.demos.aspect;


import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Slf4j
//@Component
@Aspect
@Order(3)
public class AspectDemo3 {


    @Before("com.maven.springaop.demos.aspect.AspectDemo.pc()")
    public void doBefore3() {
        log.info("doBefore3 执行");
    }

    @After("com.maven.springaop.demos.aspect.AspectDemo.pc()")
    public void doAfter3() {
        log.info("doAfter3 执行");
    }


}
